home *** CD-ROM | disk | FTP | other *** search
/ Merciful 5 / Merciful - Disc 5.iso / software / r / rtg_master / rtgmasterv21.0dev.lha / includes / c / rtgmaster / rtgAMI.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-09  |  1.3 KB  |  79 lines

  1. /*
  2. **     $VER: rtgAMI 1.003 (08 Mar 1997)
  3. */
  4.  
  5. #ifndef RTGAMI_H
  6. #define RTGAMI_H TRUE
  7.  
  8. #ifndef RTGSUBLIBS_H
  9. #include "include:rtgmaster/rtgsublibs.h"
  10. #endif
  11.  
  12. #ifndef RTGMASTER_H
  13. #include "include:rtgmaster/rtgmaster.h"
  14. #endif
  15.  
  16. #ifndef EXEC_LIBRARIES_H
  17. #include "exec/libraries.h"
  18. #endif
  19.  
  20. #ifndef EXEC_TYPES_H
  21. #include "exec/types.h"
  22. #endif
  23.  
  24. #ifndef GRAPHICS_GFX_H
  25. #include <graphics/gfx.h>
  26. #endif
  27.  
  28. #ifndef GRAPHICS_RASTPORT_H
  29. #include <graphics/rastport.h>
  30. #endif
  31.  
  32. struct RtgBaseAMI
  33. {
  34.     struct Library LibBase;
  35.     ULONG  SegList;
  36.     APTR   ExecBase;
  37.     APTR   GfxBase;
  38.     APTR   IntBase;
  39.     APTR   UtilityBase;
  40.     APTR   CyberBase;
  41.     APTR   DosBase;
  42. };
  43.  
  44. struct MyPort
  45. {
  46.     struct MsgPort *port;
  47.     ULONG signal;
  48.     WORD *MouseX;
  49.     WORD *MouseY;
  50. };
  51.  
  52. struct RtgScreenAMI
  53. {
  54.     struct RtgScreen Header;
  55.     UWORD  Locks;
  56.     UWORD  Pad;
  57.     ULONG  ScreenHandle;
  58.     ULONG  PlaneSize;
  59.     ULONG  DispBuf;
  60.     ULONG  ChipMem1;
  61.     ULONG  ChipMem2;
  62.     ULONG  ChipMem3;
  63.     struct BitMap Bitmap1;
  64.     struct BitMap Bitmap2;
  65.     struct BitMap Bitmap3;
  66.     ULONG  Flags;
  67.     struct Rectangle MyRect;
  68.     BYTE   Place[52];
  69.     struct RastPort RastPort1;
  70.     struct RastPort RastPort2;
  71.     struct RastPort RastPort3;
  72.     APTR   MyWindow;
  73.     APTR   Pointer;
  74.     struct MyPort  PortData;
  75. };
  76.  
  77. #endif
  78.  
  79.